package cn.itsource.product.service;

import cn.itsource.dto.ProductDto;
import cn.itsource.product.domain.TProduct;
import cn.itsource.product.query.ProductQuery;
import cn.itsource.utils.AjaxResult;
import cn.itsource.utils.PageList;

public interface IProductService {
    PageList<TProduct> findPageByParam(ProductQuery query);

    AjaxResult saveOrUpdate(ProductDto dto);

    ProductDto findDtoById(Long id);

    AjaxResult updateState(String ids, Long state);
}
